﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace WXFramework.Model
{
    /// <summary>
    /// 回复语音消息
    /// </summary>
    [XmlRoot("xml")]
    public class ResponseVoiceMessage : ResponseMessage
    {
        public ResponseVoiceMessage() { }
        public ResponseVoiceMessage(RequestMessage request)
            : base(request)
        {
        }
        public override MsgType MsgType
        {
            get { return Model.MsgType.Voice; }
        }

        public VoiceMessage Voice { get; set; }
    }

    
}
//<xml>
//<ToUserName><![CDATA[toUser]]></ToUserName>
//<FromUserName><![CDATA[fromUser]]></FromUserName>
//<CreateTime>12345678</CreateTime>
//<MsgType><![CDATA[voice]]></MsgType>
//<Voice>
//<MediaId><![CDATA[media_id]]></MediaId>
//</Voice>
//</xml>